#include<iostream>
#include<cmath>
using namespace std;

int main()                 //计算2的n次方，注意数据范围
{
    long long n;
    cin >> n;
    long long an = pow(2,n);
    cout << an << endl;
    return 0;
}